package com.tqyan.start.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description 根控制器
 * <p> <功能详细描述> </p>
 *
 * @author 陈晨
 * @date 2023/4/11 17:20
 */
@RestController
@Slf4j
public class RootController {

    @RequestMapping("/{path}")
    public Object getUserInfo(@PathVariable String path) {
        if (path.equals("BBYDATjvV0.txt")) {
            return "37c2520704dd17b156d2656bc47ce4f5";
        }
        return null;
    }

}


